package cn.hdu.liang.operators;

public class CommaOperator {
    public static void main(String[] args) {
        for(int i = 1000; i < 10000; i++) {
            if(isXXG(i)) {
                System.out.print(i + "  ");
            }
        }
    }

    private static boolean isXXG(int num) {
        int[] a = {0, 0, 0, 0};
        a[3] = num % 10;
        a[2] = (num % 100) / 10;
        a[1] = (num % 1000) / 100;
        a[0] = num / 1000;

        return false;
    }
}
